package Model.Beans;

import java.beans.*;
import java.io.Serializable;
import java.util.*;


public class Schedule extends Object implements Serializable {
    private int studentId = 0;
    private int courseId = 0;
    
    public Schedule() {}
    
    public Schedule(int studentId, int courseId)
    {
        this.studentId = studentId;
        this.courseId = courseId;
    }
    
    public int getStudentId()
    {
        return studentId;
    }
    
    public void setStudentId(int studentId)
    {
        this.studentId = studentId;
    }
    
    public int getCourseId()
    {
        return courseId;
    }
    
    public void setCourseId(int courseId)
    {
        this.courseId = courseId;
    }
    
    public String toString()
    {
        StringBuilder result = new StringBuilder();
        result.append(studentId + " " + courseId);
        return result.toString();
    }
}
